<?php


namespace app\admin\controller;



\think\Loader::import('controller/Controller', \think\Config::get('traits_path'), EXT);
use app\admin\Controller;


class AppDownloads extends Controller
{
    use \app\admin\traits\controller\Controller;

    protected function filter(&$map)
    {
        if ($this->request->param('version')) {
            $map['version'] = ["like", "%" . $this->request->param('version') . "%"];
        }

        if ($this->request->param('description')) {
            $map['description'] = ["like", "%" . $this->request->param('description') . "%"];
        }
    }

}